<?php
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

function keywordNames(array $array, string $string): void {
}

keywordNames(array: [], string: "string");

testKeywordName(__CLASS__: "test");
testKeywordName(__DIR__: "test");
testKeywordName(__FILE__: "test");
testKeywordName(__FUNCTION__: "test");
testKeywordName(__LINE__: "test");
testKeywordName(__METHOD__: "test");
testKeywordName(__NAMESPACE__: "test");
testKeywordName(__TRAIT__: "test");
testKeywordName(abstract: "test");
testKeywordName(and: "test");
testKeywordName(array: "test");
testKeywordName(as: "test");
testKeywordName(break: "test");
testKeywordName(callable: "test");
testKeywordName(case: "test");
testKeywordName(catch: "test");
testKeywordName(clone: "test");
testKeywordName(const: "test");
testKeywordName(continue: "test");
testKeywordName(declare: "test");
testKeywordName(default: "test");
testKeywordName(define: "test");
testKeywordName(die: "test");
testKeywordName(do: "test");
testKeywordName(echo: "test");
testKeywordName(else: "test");
testKeywordName(elseif: "test");
testKeywordName(enddeclare: "test");
testKeywordName(endfor: "test");
testKeywordName(endforeach: "test");
testKeywordName(endif: "test");
testKeywordName(endswitch: "test");
testKeywordName(endwhile: "test");
testKeywordName(exit: "test");
testKeywordName(extends: "test");
testKeywordName(final: "test");
testKeywordName(finally: "test");
testKeywordName(for: "test");
testKeywordName(foreach: "test");
testKeywordName(function: "test");
testKeywordName(global: "test");
testKeywordName(goto: "test");
testKeywordName(if: "test");
testKeywordName(implements: "test");
testKeywordName(include: "test");
testKeywordName(include_once: "test");
testKeywordName(instanceof: "test");
testKeywordName(insteadof: "test");
testKeywordName(interface: "test");
testKeywordName(list: "test");
testKeywordName(namespace: "test");
testKeywordName(new: "test");
testKeywordName(or: "test");
testKeywordName(parent: "test");
testKeywordName(print: "test");
testKeywordName(private: "test");
testKeywordName(protected: "test");
testKeywordName(public: "test");
testKeywordName(require: "test");
testKeywordName(require_once: "test");
testKeywordName(return: "test");
testKeywordName(self: "test");
testKeywordName(static: "test");
testKeywordName(switch: "test");
testKeywordName(throw: "test");
testKeywordName(trait: "test");
testKeywordName(try: "test");
testKeywordName(use: "test");
testKeywordName(var: "test");
testKeywordName(while: "test");
testKeywordName(xor: "test");
testKeywordName(yield: "test");
